<?php echo "<?php\n"; ?>

class <?php echo $this->moduleClass; ?> extends CWebModule
{
    public function init()
    {
        $this->viewPath = Yii::getPathOfAlias('theme.views.modules.<?php echo $this->moduleClass; ?>');
        $this->setImport(array(
                '<?php echo $this->moduleID; ?>.models.*',
                '<?php echo $this->moduleID; ?>.components.*',
        ));
    }

    public function beforeControllerAction($controller, $action)
    {
        if(parent::beforeControllerAction($controller, $action))
        {
                return true;
        }
        else
                return false;
    }
}
